package com.cqcet.wenchuang;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Slf4j
@SpringBootApplication
@EnableTransactionManagement
@ServletComponentScan//@WebServlet、@WebFilter、@WebListener
@EnableWebMvc
@EnableCaching//开启redis
public class WenchuangApplication {

    public static void main(String[] args) {
        SpringApplication.run(WenchuangApplication.class, args);
        log.info("文创商城已启动...");
    }

}
